package cn.stylefeng.guns.modular.business.frequency.transportleveldetail.entity;

import cn.stylefeng.guns.core.pojo.base.entity.BaseEntity;
import cn.stylefeng.guns.modular.business.frequency.ordersub.model.result.PkgOrderCarVerify;
import com.baomidou.mybatisplus.annotation.*;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 运单目的地以及费用记录
 *
 * @author yujie
 * @date 2023/05/09 17:15
 */
@Data
@TableName("tt_transport_level_detail")
public class TransportLevelDetail {

    /**
     * id
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /**
     * level_id
     */
    @TableField("level_id")
    private Long levelId;

    /**
     * order_id
     */
    @TableField("order_id")
    private Long orderId;

    /**
     * 是否代收 1.是 0.否
     */
    @TableField("has_collection")
    private Integer hasCollection;

    /**
     * 应付费用
     */
    @TableField("cost")
    private BigDecimal cost;

    /**
     * 运单出发地
     */
    @TableField("start_code")
    private String startCode;

    /**
     * 运单到达地
     */
    @TableField("destination_code")
    private String destinationCode;


    @TableField(value = "create_time",fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 租户ID
     */
    @TableField(value = "tenant_id",fill = FieldFill.INSERT)
    private Long tenantId;

    @TableField(exist = false)
    private String orderSubNo;

    @TableField(exist = false)
    private String carName;

    @TableField(exist = false)
    private String startCodeName;
    @TableField(exist = false)
    private String destinationCodeName;

    @TableField(exist = false)
    private String vin;

    @TableField(exist = false)
    private String consigneeName;

    @TableField(exist = false)
    private String consigneePhone;

    @TableField(exist = false)
    private BigDecimal deliveryPayFee;

    @TableField(exist = false)
    private Integer status;
    @TableField(exist = false)
    private String orderCreateUserName;
    @TableField(exist = false)
    private Date orderCreateTime;
    @TableField(exist = false)
    private String remark;
    @TableField(exist = false)
    private BigDecimal backReturnFee;

    @TableField(exist = false)
    private PkgOrderCarVerify orderCarVerify;

    @TableField(exist = false)
    private Long transportId;


}
